package com.yang.inventorymanagement.service;

import com.yang.inventorymanagement.pojo.Inventory;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yang.inventorymanagement.pojo.Inventory;

import java.util.List;

/**
* @author Administrator
* @description 针对表【inventory】的数据库操作Service
* @createDate 2023-12-22 09:32:03
*/
public interface InventoryService extends IService<Inventory> {
    /**
     * 新数据
     * @param inventory
     * @return
     */
    public int insertInventory(Inventory inventory);

    /**
     * 根据商品id查询所有库存信息
     * @param ProductID
     * @return
     */
    public List<Inventory> getAllListInventory(Integer ProductID);

}
